using System;
using System.Collections.Generic;
using System.Text;

namespace Commen
{
    public class DateHelper
    {
        public static string GetShortDateString(string strIn)
        {
            if (strIn == "")
            {
                return "";
            }

            DateTime d1 = Convert.ToDateTime(strIn);
            strIn = d1.ToString("yyyy-MM-dd");
            return strIn;
        }

    }
}
